
import {makeApi} from "@/api/ipc-api";
import {ipc} from "@/utils/ipcRenderer";


let prefix = "controller.anchor."

const api = makeApi(prefix)

api.scanf = async function (params){
    return await ipc.request(prefix + 'scanf',params)
}
api.stop = async function (params){
    return await ipc.request(prefix + 'stop',params)
}

export default api
